package lab02.test16;

import javax.sound.midi.Soundbank;

/**
 * Created by lenovo on 2017/10/22.
 */
public class Test {
    public static void main(String[] args) {
        Division count1 = new Division();
        System.out.println("两数相除：" + count1.calculate(8, 4));
        Multiply count2 = new Multiply();
        System.out.println("两数相乘：" + count2.calculate(8, 4));
        Plus count3 = new Plus();
        System.out.println("两数相加：" + count3.calculate(8, 4));
        Subtraction count4 = new Subtraction();
        System.out.println("两数相减：" + count4.calculate(8, 4));

    }
}
